package com.py.credit.dao;

import java.util.ArrayList;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.py.credit.entity.FrPromiseEntity;
import com.py.credit.entity.SubmitLogsDetails;
import com.py.credit.entity.SubmitLogsInfo;
import com.py.credit.entity.ZrrPromiseEntity;

public interface UploadXycnDao {

	List<FrPromiseEntity> getFrPromiseBookLlist();

	List<ZrrPromiseEntity> getZrrPromiseBookLlist();

	void updateXzStatusByRecordIds(@Param("tableName")String tableName, @Param("recordIds") List<String> recordIds);

	void saveSubmitLogsInfo(@Param("logsInfo") SubmitLogsInfo logsInfo);

	void saveSubmitLogsDetails(@Param("list") ArrayList<SubmitLogsDetails> detList);

    List<FrPromiseEntity> getFrPromiseBookLlistByBatchId(@Param("batchId")String batchId);

    int getFrPromiseBookLlistByCnzcrq(@Param("cnzcrq")String cnzcrq);

	List<ZrrPromiseEntity> getZrrPromiseBookLlistByBatchId(@Param("batchId")String batchId);
}
